<div class='login-window tel_binding'>
	<div class='container'>
		<div class='weui-flex'>
			<div class='weui-flex__item login-window-title hidden-xs' style="padding:50px;">
				<h1>欢迎加入“重卡汇”</h1>
			</div>
			<div class='login-window-container bg-blur-white'>
				<div>
					<div cache='user' style='padding:10px;' class='bc-info' data-port='http://api.hongyanche.com/user/info'>
						<headimgurl info=i><img class='headimg-xs' /></headimgurl> <user_name info=1></user_name>
						<small mute>请绑定您的手机</small>
					</div>
					<!-- <i class='i i-mail'></i> -->
				</div>
				{include file="module:login-tel" /}
				<div class='weui-btn-area'>
					<a onclick="javascript:history.back()" class='weui-btn weui-btn_default'>返回</a>
				</div>
			</div>
		</div>
	</div>
</div>
<style>
	@media (min-width: 1000px) {
		.login-window-container .weui-cells {
			margin-top: 0px;
		}
	}
</style>
<script>
    $(window).on("login-success-tel",function(){
        user.info = null;
        $("[cache='user']").each(function(index,el){
            info.reload(el);
        })
        history.back();
    })
    $('.tel_binding .login-vcode-input').on('focus', function(event) {
        if($(".vcode").hasClass('active')) return;
        $(".vcode").addClass('active');
        $(".vcode").attr('src','/vcode')
    });
    $('.tel_binding .vcode').on('click', function(event) {
        $(".vcode").addClass('active');
        $(".vcode").attr('src','/vcode')
    });
    $('#introduce2').addClass('hidden');
</script>